package com.yonyougov.devops.cruxcisupport.backupuser;

import com.yonyougov.devops.cruxcisupport.backupuser.vo.BackupUserVo;
import com.yonyougov.devops.fwc.core.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.math.BigInteger;
import java.util.List;

/**
 * 备用测试人员 表数据层
 */
public interface BackupTestUserDao extends BaseDao<BackupTestUserEntity, BigInteger> {
    //<!--用户自定义代码开始-->

    /**
     * 批量新增
     *
     * @param backupTestUserEntityList
     * @return
     */
    boolean addBatch(List<BackupTestUserEntity> backupTestUserEntityList);

    /**
     * 获取测试用户信息
     *
     * @param commitTestId
     * @return
     */
    List<BackupUserVo> getBackUserByCommitTestId(@Param(value = "commitTestId") BigInteger commitTestId);
    //<!--用户自定义代码结束-->
}
